package com.lmx.repoDomain.tmodel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import io.katharsis.resource.annotations.JsonApiResource;

/**
 * 工作时间表
 */
@Entity
@Table(name = "ccd_worktime")
@JsonApiResource(type = "worktime")
public class Worktime extends BaseEntity {
	private String code;//32位字符串
	private Integer beginHour;// 开始时间（点钟）
	private Integer endHour;// 结束时间（点钟）
	private Integer section;// 时间段排序
	private String remark;//备注

	@Column(name = "code")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "begin_hour")
	public Integer getBeginHour() {
		return beginHour;
	}

	public void setBeginHour(final Integer beginHour) {
		this.beginHour = beginHour;
	}

	@Column(name = "end_hour")
	public Integer getEndHour() {
		return endHour;
	}

	public void setEndHour(final Integer endHour) {
		this.endHour = endHour;
	}

	@Column(name = "section")
	public Integer getSection() {
		return section;
	}

	public void setSection(final Integer section) {
		this.section = section;
	}

	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}